﻿using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.Base.Entity;
using T.FAS.Runtime.DataAccess.SQLDom;
using T.FAS.Runtime.Metadata.Entity;
using T.FAS.Runtime.Metadata.SPI;

namespace T.FAS.Runtime.DataAccess.SPI
{
    public interface IModelQueryService<T> : IDataAccessAtion where T : class
    {
        TResult Query(T t, Dictionary<string, object> parameters, Dictionary<string, object> extParam = null);

        string GetQueryString(T t, Dictionary<string, object> extParam = null);        
    }
}
